package com.dmooo.yxmmerchant.view.contract;

import com.common.mvpbase.BaseView;
import com.common.net.listener.HttpOnNextListener;
import com.dmooo.yxmmerchant.domain.ServiceDetailBean;
import com.dmooo.yxmmerchant.domain.ServiceListBean;

import java.util.List;

public class ServiceContract {
    public interface ServiceView extends BaseView {
        void showServiceList(List<ServiceListBean.ServiceItem> serviceItems);
        void showServiceDetail(ServiceDetailBean detailBean);
    }
    public interface ServiceMdl{
        void getServiceList(String cat_id, int page, HttpOnNextListener listener);
        void getServiceDetail(String service_id, HttpOnNextListener listener);
    }
    public interface ServicePtr{
        void getServiceList(String cat_id, int page);
        void getServiceDetail(String service_id);

    }
}
